package com.jingdianjichi.subject.application.converter;

import com.jingdianjichi.subject.application.dto.SubjectInfoDTO;
import com.jingdianjichi.subject.application.dto.SubjectLabelDTO;
import com.jingdianjichi.subject.eneity.SubjectInfoBO;
import com.jingdianjichi.subject.eneity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDTOConverter {
    SubjectInfoDTOConverter INSTANCE = Mappers.getMapper(SubjectInfoDTOConverter.class);
    SubjectInfoBO converterDtoToCategoryBo(SubjectInfoDTO subjectInfoDTO);
    SubjectInfoDTO converterBoToDTO(SubjectInfoBO subjectInfoBO);
    List<SubjectInfoDTO> converterBosToDtos(List<SubjectInfoBO> subjectInfoBOS);


}
